package com.cloudcc.mobile.entity.addmicropost;

import java.io.Serializable;

import com.cloudcc.mobile.entity.EntityBase;
import com.cloudcc.mobile.entity.chat.DraftBox;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;
/**
 * 多图片的动态（微贴）
 * @author seven
 *
 */
@Table(name = "AddMicroPostDMany")
public class AddMicroPostDMany extends EntityBase implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(column = "body")
	public String body;
	@Column(column = "targetType")
	public String targetType;
	@Column(column = "targetId")
	public String targetId;
	@Column(column = "targetIdname")
	public String targetIdname;
	@Column(column = "recordId")
	public String recordId;
	@Column(column = "longitude")
	public double longitude;
	@Column(column = "latitude")
	public double latitude;
	@Column(column = "address")
	public String address;
	@Column(column = "fileIds")
	public String fileIds;
	@Column(column = "list")
	public String list;
	@Column(column = "isClickable")
	public boolean isClickable;
	@Column(column = "taskIdOrEventId")
	public String taskIdOrEventId;
	@Foreign(column = "parentId", foreign = "id")
	public DraftBox parent;
	public AddMicroPostDMany(String body, String targetType, String targetId,
			String targetIdname, String recordId, double longitude,
			double latitude, String address, String fileIds, String list,
			DraftBox parent) {
		super();
		this.body = body;
		this.targetType = targetType;
		this.targetId = targetId;
		this.targetIdname = targetIdname;
		this.recordId = recordId;
		this.longitude = longitude;
		this.latitude = latitude;
		this.address = address;
		this.fileIds = fileIds;
		this.list = list;
		this.parent = parent;
	}
	
	
	public boolean isClickable() {
		return isClickable;
	}
	public void setClickable(boolean isClickable) {
		this.isClickable = isClickable;
	}
	public String getTaskIdOrEventId() {
		return taskIdOrEventId;
	}

	public void setTaskIdOrEventId(String taskIdOrEventId) {
		this.taskIdOrEventId = taskIdOrEventId;
	}

	public AddMicroPostDMany() {
		super();
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getTargetType() {
		return targetType;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}
	public String getTargetId() {
		return targetId;
	}
	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}
	public String getTargetIdname() {
		return targetIdname;
	}
	public void setTargetIdname(String targetIdname) {
		this.targetIdname = targetIdname;
	}
	public String getRecordId() {
		return recordId;
	}
	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getFileIds() {
		return fileIds;
	}
	public void setFileIds(String fileIds) {
		this.fileIds = fileIds;
	}
	public String getList() {
		return list;
	}
	public void setList(String list) {
		this.list = list;
	}
	public DraftBox getParent() {
		return parent;
	}
	public void setParent(DraftBox parent) {
		this.parent = parent;
	}
	
}
